<template>
  <div class="custom_video_animate_player">
    <div class="custom_video_animate_player_content">
      <div
        class="custom_video_animate_player_content_item"
        ref="videobox"
      ></div>
    </div>
  </div>
</template>
<script>
import Vap from "video-animation-player";
export default {
  name: "customVideoAnimatePlayer",
  props: {
    item: {
      type: Object,
      default() {
        return {};
      },
    },
  },
  data() {
    return {
      options: {},
    };
  },
  mounted() {
    let extend = this.$Plugins.extend;

    extend(
      extend(this.options, {
        container: this.$refs["videobox"],
        config: {},
      }),
      this.$props.item.data
    );
    console.log(this.options);
    let vap = new Vap(this.options);
    console.log(vap);
  },
};
</script>
<style lang="less">
@base: 23.44rem;
.custom_video_animate_player {
}
</style>
